Total Complexity | 40 |
Dependencies | 5 |
Dependents | 0 |
Total lines | 378 |
Lines of code | 216 |
Logical lines of code | 83 |
Comment lines | 100 |
Methods | 15 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_matching_user_ids_by_category() | 51 | 6 | 27 | |
prepare_item_for_database() | 53 | 6 | 25 | |
get_category() | 58 | 4 | 15 | |
delete_item() | 53 | 3 | 24 | |
create_item() | 60 | 3 | 14 | |
register_routes() | 47 | 1 | 44 | |
update_item() | 61 | 3 | 13 | |
get_items() | 61 | 2 | 12 | |
get_item_permissions_check() | 76 | 2 | 4 | |
get_item() | 66 | 2 | 8 | |
create_item_permissions_check() | 76 | 2 | 4 | |
update_item_permissions_check() | 76 | 2 | 4 | |
delete_item_permissions_check() | 76 | 2 | 4 | |
prepare_item_for_response() | 59 | 1 | 14 | |
__construct() | 77 | 1 | 4 |